[INFO] cloning repository https://github.com/davidabernado/based-minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidabernado/based-minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b4e7c0b5be8afcb5c8e03b85bf48dec27bc2411
[INFO] testing davidabernado/based-minigrep against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/davidabernado/based-minigrep on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] finished tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] tweaked toml for git repo https://github.com/davidabernado/based-minigrep written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/davidabernado/based-minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf0d7d4f03752b54d63281a3b9f3579776f1e191b40c1f96152c4b21c566cc11
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cf0d7d4f03752b54d63281a3b9f3579776f1e191b40c1f96152c4b21c566cc11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf0d7d4f03752b54d63281a3b9f3579776f1e191b40c1f96152c4b21c566cc11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf0d7d4f03752b54d63281a3b9f3579776f1e191b40c1f96152c4b21c566cc11", kill_on_drop: false }`
[INFO] [stdout] cf0d7d4f03752b54d63281a3b9f3579776f1e191b40c1f96152c4b21c566cc11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ce18384380ef7ebe8e0760bef3f1f4cbc65e86648662aed009118de5bea7d4e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4ce18384380ef7ebe8e0760bef3f1f4cbc65e86648662aed009118de5bea7d4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling regex v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling rayon v1.0.1
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 23.77s
[INFO] running `Command { std: "docker" "inspect" "4ce18384380ef7ebe8e0760bef3f1f4cbc65e86648662aed009118de5bea7d4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ce18384380ef7ebe8e0760bef3f1f4cbc65e86648662aed009118de5bea7d4e", kill_on_drop: false }`
[INFO] [stdout] 4ce18384380ef7ebe8e0760bef3f1f4cbc65e86648662aed009118de5bea7d4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9f6d5368e6d9052dc7f1530d9521588dbd85ee4ef45a42a2855eb7050a51787
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a9f6d5368e6d9052dc7f1530d9521588dbd85ee4ef45a42a2855eb7050a51787", kill_on_drop: false }`
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |             search(&query, &contents, &flag)
[INFO] [stdout]    |                                       ^^^^^ expected enum `Flag`, found struct `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |             search(&query, &contents, &flag),
[INFO] [stdout]    |                                       ^^^^^ expected enum `Flag`, found struct `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `based_minigrep` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "a9f6d5368e6d9052dc7f1530d9521588dbd85ee4ef45a42a2855eb7050a51787", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9f6d5368e6d9052dc7f1530d9521588dbd85ee4ef45a42a2855eb7050a51787", kill_on_drop: false }`
[INFO] [stdout] a9f6d5368e6d9052dc7f1530d9521588dbd85ee4ef45a42a2855eb7050a51787
